from django.conf.urls.defaults import *

from planet.views import defense_map, getfleetinfo, planetsearch, farms

urlpatterns = patterns('',
        url(r'^defensemap/$', defense_map, name='defense_map'),
        url(r'^farms/(?P<area>[\w\d]+)$', farms, name='farms'),
        url(r'planetsearch/$', planetsearch, name='planetsearch'),
        url(r'^getfleetinfo/(?P<planet_name>[\w\.\@\-\d]+)$', getfleetinfo, name='getfleetinfo')
    )
